package com.common.bo;

import java.io.Serializable;
import java.util.List;

public class ResultMsg implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private String code = "0";//返回结果:0：成功；其他结果
	private String message;//返回结果描述
	private Object data;//单个对象
	private Object extra;//辅助信息
	
	public ResultMsg() {
		super();
	}
	public ResultMsg(String code, String message) {
		super();
		this.code = code;
		this.message = message;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public Object getExtra() {
		return extra;
	}
	public void setExtra(Object extra) {
		this.extra = extra;
	}
}
